package com.heima.comment.mongo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 评论
 * </p>
 *
 * @author itheima
 */
@Data
@Document("ap_comment_repay")
public class ApCommentRepay implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 内容
     */
    private String content;

    /**
     * 被回复的评论id
     */
    private String commentId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 点赞数
     */
    private Integer likes;



    /**
     * 创建时间
     */
    private Date createdTime;

}